#include "RTC_app.h"

RTC_DateTypeDef date;
RTC_TimeTypeDef time;

void RTC_Proc(void)
{
    HAL_RTC_GetDate(&hrtc, &date, RTC_FORMAT_BIN);
    HAL_RTC_GetTime(&hrtc, &time, RTC_FORMAT_BIN);
    key_long++;
}